/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.model;
import java.util.Date;

import com.legendshop.dao.persistence.Column;
import com.legendshop.dao.persistence.Entity;
import com.legendshop.dao.persistence.GeneratedValue;
import com.legendshop.dao.persistence.GenerationType;
import com.legendshop.dao.persistence.Id;
import com.legendshop.dao.persistence.Table;
import com.legendshop.dao.persistence.TableGenerator;
import com.legendshop.dao.support.GenericEntity;

/**
 *项目费用表
 */
@Entity
@Table(name = "ls_project_cost")
public class ProjectCost implements GenericEntity<Long> {

	private static final long serialVersionUID = -4751924536139509492L;

	/** 项目主键 */
	private Long id; 
		
	/** 项目Id */
	private Long projectId; 
		
	/** 用户Id */
	private Long userId; 
		
	/** 金额 */
	private java.math.BigDecimal money; 
		
	/** 类型，0: 活动经费， 2： 打的，3：餐饮， 4：购买其他商品 */
	private Long type; 
		
	/** 描述 */
	private String describe; 
		
	/** 发生时间 */
	private Date happenTime; 
		
	/** 状态, 0:待审核, 1:已审核 */
	private Long status; 
		
	/** 审核人 */
	private Long auditor; 
		
	/** 审核时间 */
	private Date auditTime; 
		
	/**  */
	private Date createTime; 
		
	
	public ProjectCost() {
    }
		
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "generator")
	@TableGenerator(name = "generator", pkColumnValue = "PROJECT_COST_SEQ")
	public Long  getId(){
		return id;
	} 
		
	public void setId(Long id){
			this.id = id;
		}
		
    @Column(name = "project_id")
	public Long  getProjectId(){
		return projectId;
	} 
		
	public void setProjectId(Long projectId){
			this.projectId = projectId;
		}
		
    @Column(name = "user_id")
	public Long  getUserId(){
		return userId;
	} 
		
	public void setUserId(Long userId){
			this.userId = userId;
		}
		
    @Column(name = "money")
	public java.math.BigDecimal  getMoney(){
		return money;
	} 
		
	public void setMoney(java.math.BigDecimal money){
			this.money = money;
		}
		
    @Column(name = "type")
	public Long  getType(){
		return type;
	} 
		
	public void setType(Long type){
			this.type = type;
		}
		
    @Column(name = "describe")
	public String  getDescribe(){
		return describe;
	} 
		
	public void setDescribe(String describe){
			this.describe = describe;
		}
		
    @Column(name = "happen_time")
	public Date  getHappenTime(){
		return happenTime;
	} 
		
	public void setHappenTime(Date happenTime){
			this.happenTime = happenTime;
		}
		
    @Column(name = "status")
	public Long  getStatus(){
		return status;
	} 
		
	public void setStatus(Long status){
			this.status = status;
		}
		
    @Column(name = "auditor")
	public Long  getAuditor(){
		return auditor;
	} 
		
	public void setAuditor(Long auditor){
			this.auditor = auditor;
		}
		
    @Column(name = "audit_time")
	public Date  getAuditTime(){
		return auditTime;
	} 
		
	public void setAuditTime(Date auditTime){
			this.auditTime = auditTime;
		}
		
    @Column(name = "create_time")
	public Date  getCreateTime(){
		return createTime;
	} 
		
	public void setCreateTime(Date createTime){
			this.createTime = createTime;
		}
	


} 
